<ng-container *ngIf="(result$ | async) as creds">
  <loading-indicator [loading]="creds.loading"></loading-indicator>
  <error-message [error]="creds.error"></error-message>
  <cred-list [records]="creds.data" format="cards"></cred-list>
</ng-container>
